package com.example.videoworks.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author Lily
 * @since 2023-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("principal")
@ApiModel(value="Principal对象", description="")
public class Principal implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "personId", type = IdType.AUTO)
    private String personId;

    @TableField("name")
    private String name;

    @TableField("birthYear")
    private String birthYear;

    @TableField("deathYear")
    private String deathYear;

    @TableField("profession")
    private String profession;

    @TableField("personIntroduction")
    private String personIntroduction;

    @TableField("personImg")
    private String personImg;

    @TableField("knownForTitles")
    private String knownForTitles;


}
